package consolemir;

public abstract class Player extends Unit {
	
	public Player(String name) {
		this.name = name;
	}
	
	public void gainExp(float exp) {
		this.exp += exp;
		if (this.exp >= this.level * 100) {
			this.exp -= this.level * 100;
			this.levelup();
		}
	}

	public abstract void getAbilityList();
	public abstract void levelup();
	
}
